<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自动验证</title>
</head>
<body>
<form action="引用外部JS.html" method="post">

    <p>姓名:</p>
    <input type="text" name="name" required="required">
    <input type="submit" value="提交">
</form>

</body>
</html>